@import "./style/theme.scss";
@import "./style/variables.scss";
@import "./style/yyk-icon.scss";
@import "./style/zyk-icon.scss";


$font-size-base: $font-size;
$hd: 2 !default; // 基本单位
$color-brand: $color-brand-primary;
$color-brand-light: $color-brand-accent;
$color-brand-dark: $color-brand-accent-light;
$color-text-base: $color-primary-text;
$at-button-border-color-secondary: $color-border-gray;

@import "~taro-ui/dist/style/index.scss";
@import "./style/taro-ui-mod.scss";
:root:root {
  --adm-color-primary: #21b991;
}
body, view {
  // font-family: $font-family;
  font-size: $font-size;
}

page, body {
  background: $color-bg-gray-new;
  color: $color-primary-text;
}

.lnk {
  color: $color-link;
}

.lock-screen {
  width: 100%;
  height: 100%;
  position: fixed;
  overflow: hidden;
}

.hidden {
  display: none !important;
}

.sec {
  background: #fff;
  margin: 0 0 $edge-margin;
  &-hd {
    display: flex;
    line-height: 1;
    align-items: center;
    padding: $edge-size;
    .more {
      color: $color-link;
      font-size: $font-size-small;
      margin-right: floor(-$edge-size / 4);
    }
    .at-icon {
      font-size: $font-size-large;
    }
  }
  &-title {
    flex: 1;
  }
  &-ft {
    color: $color-gray-light;
    margin-right: floor(-$edge-size / 4);
    .at-font {
      font-size: $font-size-large;
    }
  }
}

.btns {
  button, .at-button {
    margin: 0 0 $edge-margin;
  }
  padding: $edge-margin $edge-size;
}

.toolbar {
  &.toolbar-inline {
    .at-button, at-button {
      width: 100%;
    }
  }
  background: #fff;
  font-size: $font-size;
  display: flex;
  height: $toolbar-height;
  box-shadow: $toolbar-shadow;
  box-sizing: border-box;
  padding: $edge-margin $edge-size;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  align-items: center;
  align-content: center;
  justify-content: space-between;
  z-index: $z-index-toolbar;
  .at-button {
    font-size: $font-size;
  }
  &-hd {}
  &-ft {
    max-width: 120px;
  }
}

switch, .weui-switch {
  transform: scale(0.6);
  transform-origin: center right;
}

.at-tabs__item {
  color: $at-tab-bar-color;
  font-size: 26px;
}
.at-tabs__item--active {
  color: $color-brand-primary;
}

/*
.search-input__bar {
  .at-search-bar {
    &__input {
      line-height: 30PX - 10PX;
    }
  }
}*/


.at-curtain__container {
  .userinfo-btn {
    border-width: 0;
    background: transparent;
    padding: 0;
    height: auto;
  }
}

.marginTop24{
  margin-top: 24px;
}

.marginTop20{
  margin-top: 20px;
}

.marginTop16{
  margin-top: 16px;
}

// .taro-tabbar__tabbar{
//   background: pink;
// }
// .taro-tabbar__container {
//   background: #FFF;
// }

.weui-bar__item_on{
  font-weight: 700;
}
.weui-tabbar__item{

}
#app{
  min-height: 100%;
}
.taro-tabbar__container {
  // &.ipx {
    // .taro-tabbar__tabbar {
      // height: 136px;
    // }
    .weui-tabbar {
      height: 100%;
    }
  // }
}
